﻿using BenCaoXuan.Infrastructure.Attr;
using BenCaoXuan.Infrastructure.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BenCaoXuan.Service.Interface.middle
{
    [Provider_]
    public interface I_Article_Service
    {
        /// <summary>
        /// 增加文章浏览量
        /// </summary>
        /// <param name="articleId"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Article_LookCount(string articleId);
        /// <summary>
        /// 获取所有文章数据
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_AllArticles();
        /// <summary>
        /// 获取文章详情
        /// </summary>
        /// <param name="articleId">文章ID</param>
        /// <returns>包含操作结果的DTO</returns>
        Task<Api_Result_Dto> Get_ArticleDetails(string articleId);
    }
}
